<?php

// $Id$


class TCMS_VPage_Template extends Tangra_Class {
	private $id;
	private $name;
	private $wp_path;
	private $wp_class_name;
	private $page_name;
	private $cache;
	private $cache_expiry;
	private $hard_cache;
	private $edit_path;
	private $man_path;
	private $del_path;



	public function set_id($id) {
		tangra_if_not_int_throw_e($id);

		$this->id = $id;
	}


	public function get_id() {
		return $this->id;
	}


	public function set_name($name) {
		$this->name = $name;
	}


	public function get_name() {
		return $this->name;
	}


	public function set_wp_path($wp_path) {
		$this->wp_path = $wp_path;
	}


	public function get_wp_path() {
		return $this->wp_path;
	}


	public function set_wp_class_name($wp_class_name) {
		$this->wp_class_name = $wp_class_name;
	}


	public function get_wp_class_name() {
		return $this->wp_class_name;
	}


	public function set_page_name($page_name) {
		$this->page_name = $page_name;
	}


	public function get_page_name() {
		return $this->page_name;
	}


	public function set_cache($cache) {
		$this->cache = $cache ? true : false;
	}


	public function get_cache() {
		return $this->cache;
	}


	public function set_cache_expiry($cache_expiry) {
		tangra_if_not_int_throw_e($cache_expiry);


		$this->cache_expiry = $cache_expiry;
	}


	public function get_cache_expiry() {
		return $this->cache_expiry;
	}


	public function set_hard_cache($hard_cache) {
		$this->hard_cache = $hard_cache ? true : false;
	}


	public function get_hard_cache() {
		return $this->hard_cache;
	}


	public function set_edit_path($edit_path) {
		$this->edit_path = $edit_path;
	}


	public function get_edit_path() {
		return $this->edit_path;
	}


	public function set_man_path($man_path) {
		$this->man_path = $man_path;
	}


	public function get_man_path() {
		return $this->man_path;
	}


	public function set_del_path($del_path) {
		$this->del_path = $del_path;
	}


	public function get_del_path() {
		return $this->del_path;
	}

}